package com.base.mapper.voipmapper;

import com.base.po.voip.GoodsClassify;
import com.base.utils.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface GoodsClassifyMapper {
    int deleteByPrimaryKey(String id);

    int insert(GoodsClassify record);

    int insertSelective(GoodsClassify record);

    GoodsClassify selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(GoodsClassify record);

    int updateByPrimaryKey(GoodsClassify record);

    List<GoodsClassify> selectByAll(GoodsClassify record);

    int countByOptAll(@Param("agentid") String agentid, @Param("type") Integer type, @Param("gid") String gid);

    List<GoodsClassify> selectByOptAll(@Param("page") Page page, @Param("agentid") String agentid, @Param("type") Integer type, @Param("gid") String gid);
}